/**
 * *************************************
 * Copyright(c)2016 Dingdang Yixia 
 * All Rights Reserved.
 *
 * @File: DifferBusinessService.java
 * @Package: com.ddyx.service
 * @Description:
 * 
 * @Version: V1.0
 * @Author: Yidong.Xiang
 * @Date: 2018年8月21日 下午6:29:39
 * 
 * *************************************
 */
package com.ddyx.service;

import org.apache.poi.ss.formula.functions.T;

import com.alibaba.fastjson.JSONObject;
import com.ddyx.model.request.CheckRefundStatusRequest;
import com.ddyx.model.request.DownloadProductRequest;
import com.ddyx.model.request.GetOrderRequest;
import com.ddyx.model.request.GetRefundRequest;
import com.ddyx.model.request.PolymallHttpRequest;
import com.ddyx.model.request.SendOrderRequest;
import com.ddyx.model.request.SyncStockRequest;
import com.ddyx.model.request.UpdateSellerMemoRequest;
import com.ddyx.model.response.CheckRefundStatusResponse;
import com.ddyx.model.response.DownloadProductResponse;
import com.ddyx.model.response.GetOrderResponse;
import com.ddyx.model.response.GetRefundResponse;
import com.ddyx.model.response.SendOrderResponse;
import com.ddyx.model.response.SyncStockResponse;
import com.ddyx.model.response.UpdateSellerMemoResponse;

/**
 * @ClassName: DifferBusinessService.java
 * @Module: 菠萝派商城接入API业务接口
 * @Description: 
 * 
 * @author: Yidong.Xiang
 * @date: 2018年8月21日 下午6:29:39
 * 
 */
public interface DifferBusinessService {

	/**
	 * 
	 * @param method
	 * @param appkey
	 * @param token
	 * @param bizcontent
	 * @param sign
	 * @return
	 */
//	public JSONObject response(String method,String appkey,String token,String bizcontent,String sign);
	
	public JSONObject response(PolymallHttpRequest request);
	/**
	 * 	订单下载
	 * @param request
	 * @return
	 */
	GetOrderResponse getOrder(GetOrderRequest request);
	/**
	 * 	退款检测
	 * @param OrderID
	 * @return
	 */
	CheckRefundStatusResponse checkRefundStatus(CheckRefundStatusRequest request);
	/**
	 * 	订单发货
	 * @param request
	 * @return
	 */
	SendOrderResponse send(SendOrderRequest request);
	/**
	 * 	修改订单备注
	 * @param request
	 * @return
	 */
	UpdateSellerMemoResponse updateSellerMemo(UpdateSellerMemoRequest request);
	/**
	 * 	商品下载,esAPI平台调用
	 * @param request
	 * @return
	 */
	DownloadProductResponse downloadProduct(String storeNo,DownloadProductRequest request);
	/**
	 * 	商品库存同步
	 * @param request
	 * @return
	 */
	SyncStockResponse syncStock(String storeNo,SyncStockRequest request);
	/**
	 * 	退货退款单下载
	 * @param request
	 * @return
	 */
	GetRefundResponse getRefund(GetRefundRequest request);
}
